import Vue from 'vue'
import Router from 'vue-router'
import HomePage from '@/components/HomePage'
import MobileSearchPanel from '@/components/MobileSearchPanel'

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'HomePage',
      component: HomePage,
      meta: {
        index: 0,
        keepAlive: false,
      }
    },
    {
      path: '/mobileSearch',
      name: 'MobileSearchPanel',
      component: MobileSearchPanel,
      meta: {
        index: 1,
        keepAlive: false,
      }
    }
  ]
})
